package com.exsun.ex1077.network.entity

import com.amap.api.maps.model.LatLng

//{
//    "address": "湖北省,武汉市,硚口区,粥王府体育馆店",
//    "lng": 114.25248,
//    "dre": 89,
//    "isOnline": 1,
//    "videoOnline": 1,
//    "time": "2022-08-15 09:44:00",
//    "dvo": "020220401439",
//    "lat": 114.25248
//}

data class MapVehicleGps(
    val location: String = "",
    val lng: Double = 0.0,
    val lat: Double = 0.0,
    val dre: Int = 0,
    val spd: Int = 0,
    val isOnline: Int = 0,
    val videoOnline: Int = 0,
    val hasChannel: Int = 0,
    val gdt: String = "" ,
    val dvo: String = "",
){
    fun getLatLng() = LatLng(lat, lng)
}